#include"stack.h"

int main()
{
	Stack St;
	StackInit(&St);
	StackPush(&St, 10);
	StackPrint(St);
	StackPush(&St, 20);
	StackPrint(St);
	StackPush(&St, 30);
	StackPrint(St);
	StackPop(&St);
	StackPop(&St);
	StackPrint(St);
	STDataType ret = StackTop(&St);
	printf("ret=%d\n", ret);
	int size = StackSize(&St);
	printf("size=%d\n", size);
	int ifnull = StackEmpty(&St);
	printf("ifnull=%d\n", ifnull);

	return 0;
}